﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="NavBar.ascx.cs" Inherits="zdzh.zdmgr.UIL.UserControls.NavBar" %>
<div id="SideBar">
    <div class="BarAreaTop">
        <asp:Repeater ID="RepTopBar" runat="server">
            <ItemTemplate><div class="NavBar" onclick="location='../<%#DataBinder.Eval(Container.DataItem, "ImageButtons[0].RunPath")%>'"><%#DataBinder.Eval(Container.DataItem, "Name")%></div></ItemTemplate>
        </asp:Repeater>
        <asp:Repeater ID="RepButton" runat="server">
            <ItemTemplate>
                <div class="NavBtn"><img class="NavBtnImg" src="../Images/NavBtn/<%#DataBinder.Eval(Container.DataItem, "ImageUrl")%>"  onclick="location='../<%#DataBinder.Eval(Container.DataItem, "RunPath")%>'" alt="ImageButton"/></div>
                <div class="NavBtnText"><%#DataBinder.Eval(Container.DataItem, "Name")%></div>
            </ItemTemplate>
        </asp:Repeater>
    </div>
    <div class="BarAreaBottom">
        <asp:Repeater ID="RepBottomBar" runat="server">
            <ItemTemplate><div class="NavBar" onclick="location='../<%#DataBinder.Eval(Container.DataItem, "ImageButtons[0].RunPath")%>'"><%#DataBinder.Eval(Container.DataItem, "Name")%></div></ItemTemplate>
        </asp:Repeater>
        <div class="NavBar">退出系统</div>
    </div>
    <div id="DesignerLogo"></div>
</div>
